package com.ly.sy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangyu
 * @since 2020-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Homework对象", description="")
public class Homework implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "作业ID")
    @TableId(value = "hw_id", type = IdType.AUTO)
    private Integer hwId;

    @ApiModelProperty(value = "课程ID")
    private Integer courseId;

    @ApiModelProperty(value = "题号")
    private String hwNum;

    @ApiModelProperty(value = "作业标题")
    private String hwTitle;

    @ApiModelProperty(value = "第*次作业")
    private Integer hwGroup;

    @ApiModelProperty(value = "选项A内容")
    @TableField("hw_conA")
    private String hwCona;

    @ApiModelProperty(value = "选项B内容")
    @TableField("hw_conB")
    private String hwConb;

    @ApiModelProperty(value = "选项C内容")
    @TableField("hw_conC")
    private String hwConc;

    @ApiModelProperty(value = "选项D内容")
    @TableField("hw_conD")
    private String hwCond;

    @ApiModelProperty(value = "正确答案")
    private String hwAnswer;


}
